import Vue from "vue";
import App from "./App.vue";
import axios from "axios";
import store from "./store/module/index";
import "@/public/filter";
import "reset-css";
Vue.prototype.$axios = axios;
import router from "./router";
Vue.config.productionTip = false;
import { Popover, Input, InputNumber, Tree, Table, TableColumn, Pagination, Loading, Select, Option, Form, FormItem, Button, Tabs, TabPane, Dialog, Checkbox, OptionGroup, Message, MessageBox, Cascader, Radio, RadioGroup, RadioButton, Drawer, Tooltip, Popconfirm, CheckboxGroup, Collapse, CollapseItem, Dropdown, DropdownMenu, DropdownItem,Upload } from "element-ui";
import "./element-variables.scss";

Vue.use(Popover);
Vue.use(Input);
Vue.use(InputNumber);
Vue.use(Tree);
Vue.use(Table);
Vue.use(TableColumn);
Vue.use(Pagination);
Vue.use(Loading);
Vue.use(Select);
Vue.use(Option);
Vue.use(Button);
Vue.use(Tabs);
Vue.use(TabPane);
Vue.use(Dialog);
Vue.use(CheckboxGroup);
Vue.use(Checkbox);
Vue.use(Cascader);
Vue.use(Form);
Vue.use(FormItem);
Vue.use(Radio);
Vue.use(RadioGroup);
Vue.use(RadioButton);
Vue.use(Drawer);
Vue.use(Tooltip);
Vue.use(Popconfirm);
Vue.use(Collapse);
Vue.use(CollapseItem);
Vue.use(OptionGroup);
Vue.use(Dropdown);
Vue.use(DropdownMenu);
Vue.use(DropdownItem);
Vue.use(Upload);



Vue.prototype.$message = Message;
Vue.prototype.$msgbox = MessageBox;
Vue.prototype.$confirm = MessageBox.confirm;
import _ from "lodash";
Vue.prototype._ = _;

new Vue({
	router,
	store,
	render: (h) => h(App),
}).$mount("#app");
